#include "s3c2440.h"
#include "uart.h"
#include "timer.h"

int main()
{
    unsigned char timerid;
    unsigned int prescal;
    unsigned int divider;
    unsigned int countbuf;
    unsigned int cmpbuf;
    /*send_hex(0x88);
  // Timer0Test();
    timerid = 4;
    prescal = 20;
    divider = 2;
    countbuf = 60000;
    cmpbuf = 10;
   TimerInit(timerid,prescal,divider,countbuf,cmpbuf);
   TimerManUp(timerid,1);
   TimerStart(timerid,1);
   TimerManUp(timerid,0);
   TimerAutoLoad(timerid,1);
   while(1)
   {
       while (TCNTO4 ==0 )
       {
           puts("a");
       }
   }
   */

    TimerTest();
    puts("test over\n");
    while(1)
    {

    }
    return 0;

}